﻿<%@ Page Title="User Playlist" Language="C#" MasterPageFile="~/pages/MainPage.Master" AutoEventWireup="true" CodeBehind="PlayListPage.aspx.cs" Inherits="SE560Multimedia.pages.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="ContentPlayList" ContentPlaceHolderID="MainContentPlaceHolder" 
    runat="server">
    <table>
    <asp:Label ID="LabelPlayListStatus" runat="server" 
    style="font-family: Arial; font-size: small"></asp:Label>
    <tr>
        <td>
        </td>
    </tr>
                <asp:GridView ID="GridViewPlaylist" runat="server" AllowPaging="True" 
                    AllowSorting="True" CellPadding="4" ForeColor="#333333" GridLines="None" 
                    onrowcommand="GridViewPlaylist_RowCommand" 
                    style="font-family: Arial; font-size: small" 
            AutoGenerateColumns="False">
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <Columns>
                        <asp:BoundField DataField="MEDIA_NAME" HeaderText="Name" />
                        <asp:BoundField DataField="MEDIA_ALBUM_NAME" HeaderText="Album Name" />
                        <asp:BoundField DataField="MEDIA_ARTIST_NAME" HeaderText="Artist Name" />
                        <asp:ButtonField ButtonType="Button" CommandName="ResultListPlayCommand" 
                            Text="Play" >
                        <ControlStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" 
                            ForeColor="#284775" />
                        </asp:ButtonField>
                        <asp:ButtonField ButtonType="Button" CommandName="ResultListDeleteCommand" 
                            Text="Delete">
                        <ControlStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" 
                            ForeColor="#284775" />
                        </asp:ButtonField>
                    </Columns>
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#999999" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
    </table>
</asp:Content>
